.tbproject-content-list {
  .tbproject-card {
    max-width: 1100px;
    margin: 20px auto 40px;
    overflow: visible;
    display: flow-root;
    .next-card-content {
      overflow: visible;
    }
  }

  .at-text-avatar a.at-text-avatar-a {
    height: 100%;
    img {
      height: 100%;
    }
  }

  // 这里为了达到设计师的要求（库描述撑满宽度），hack了不少at-list的样式
  .at-list-item-body {
    min-width: 0;
  }
  .at-list-item-body-description-item:first-child {
    max-width: initial;
    margin-right: 16px;
  }

  .card-title {
    text-align: left;
    line-height: 26px;
    font-weight: 500;
    font-size: 18px;
    color: $gray-08;
  }

  .project-list-item-desc {
    width: 100%;
    display: flex;
    align-items: center;
    &-project-desc {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    &-divider {
      margin-left: 8px;
    }
    &-time {
      margin-left: 8px;
      &:first-child {
        margin-left: 0;
      }
    }
  }
}

.tb-repo-list-placeholder {
  height: calc(100vh - 90px);
  margin-top: 0;
  .at-error-page-img {
    width: 72px;
  }
  .at-error-page-info-title {
    line-height: 20px;
    font-size: 14px;
    color: $gray-07;
    margin-bottom: 4px;
  }
  .at-error-page-info-desc {
    line-height: 16px;
    font-size: 12px;
    color: $gray-06;
    margin-bottom: 16px;
  }
}

.at-list-item-has-container:hover {
  .at-path {
    &-wrap-first,
    &-separator,
    &-wrap-last,
    &-wrap-middle {
      color: $primary-brand;
    }
  }
}

.tb-repo-list-empty-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 89px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(https://img.alicdn.com/tfs/TB1tGqYtuH2gK0jSZJnXXaT1FXa-2880-1600.png);
  .tb-repo-list-empty {
    margin-top: -89px;
    text-align: center;
    &-title {
      line-height: 45px;
      font-size: 32px;
      color: $gray-08;
    }
    &-desc {
      margin-top: 8px;
      line-height: 20px;
      font-size: 14px;
      color: $gray-06;
    }
    &-btns {
      margin-top: 37px;
      & > .next-btn {
        margin-left: 16px;
        width: 152px;
        height: 48px;
        border-radius: 24px;
        font-size: 16px;
        &:first-child {
          margin-left: 0;
        }
      }
    }
    &-img {
      margin-top: 40px;
      img {
        width: 960px;
        height: 405px;
        margin-left: -127px;
      }
    }
  }
}

// devops 项目页面内使用 侧栏宽度 241 || 74
body[data-sidebar='normal'] {
  .tb-repo-list-empty-wrapper {
    top: 48px;
    left: 241px;
    width: unset;
    overflow: hidden;
  }
}

body[data-sidebar='mini'] {
  .tb-repo-list-empty-wrapper {
    top: 48px;
    left: 74px;
    width: unset;
    overflow: hidden;
  }
}
